import React from 'react'
import '../assets/css/home.scss'
import {NavLink,Outlet} from 'react-router-dom'
export default function Home() {
  return (
    <div className='container'>
        <div className='header'>
            <div>
               <h1>CRME商城后台管理系统</h1>
            </div>
        </div>
        <div className='main'>
           <div className='silder'>
               <ul>
                  <li><i className='iconfont icon-yonghu'></i><NavLink to="/home/user">用户管理</NavLink></li>
                  <li><i className='iconfont icon-jiaosequnti'></i><NavLink to="/home/role">角色管理</NavLink></li>
                  <li><i className='iconfont icon-fenlei'></i><NavLink to="/home/category">分类管理</NavLink></li>
                  <li><i className='iconfont icon-shangpin'></i><NavLink to="/home/product">商品管理</NavLink></li>
               </ul>
           </div>
           <div className='content'>
              <Outlet></Outlet>
           </div>
        </div>
    </div>
  )
}
